<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{% block title %}{% endblock %}</title>
  <!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
  <link href="/static/css/layui.css" rel="stylesheet">
  <link href="/static/css/common.css" rel="stylesheet">
  <script src="/static/js/jquery.min.js"></script>
  <script src="/static/js/jquery.cookie.js"></script>
    {% block css %}{% endblock %}
</head>
<body>
<!-- 抬头信息 -->
<div class="layui-row common_heard">
    {% block heard %}{% endblock %}
</div>
<!-- 内容 -->
<div class="common_content">
    {% block content %}{% endblock %}
</div>
<!--工具栏-->

</body>

<!-- js引用 -->
<script src="/static/js/base.js"></script>
<script src="/static/layui.js"></script>
{% block js %}{% endblock %}
{% block js_content %}{% endblock %}
<script>
    layui.use(['common'], function(){
      let common = layui.common;
      init_util();

      // 使用公共模块中的功能
      common.run_start();
    });
</script>
</html>